Revert last change. Alex says 4.06 firmware fixed that.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 7 May 2003 13:58:37 +0000 (13:58 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 7 May 2003 13:58:37 +0000 (13:58 +0000)
gpsbabel/magproto.c

index ff2f6f085f202460fc32239666ab18174a34533b..9b89ace7ba6263c661ce592fa964e8d339cad431 100644 (file)
@@ -1181,7 +1181,7 @@ mag_waypt_pr(const waypoint *waypointp)
                odesc = mag_cleanse(odesc);
        }
 
-       sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s",
+       sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s",
                lat, ilat < 0 ? 'S' : 'N',
                lon, ilon < 0 ? 'W' : 'E',
                waypointp->position.altitude.altitude_meters == unknown_alt ?